|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectobservations.DomainObject
observations.Observation
observations.Measurement
Measurement Represents something like 'bloodpressure 120
mm/Hg'. Measurement is part of Fowler's pattern 'Measurement'. It represents
the individual measurement. It is linked to the object being measured (the
patient) and to a phenomenon type that describes the kind of measurement
being made. It's also part of the pattern 'Observation'.
PhenomenonType,
Patient,
Observation| Constructor Summary | |
Measurement(Quantity amount,
PhenomenonType phenomenonType,
Patient patient,
java.util.Date whenObserved)
Constructs a Measurement object. |
|
| Method Summary | |
Quantity |
amount()
Gives the measured amount. |
Phenomenon |
calculatePhenomenonFor(Quantity arg)
Gives a valuation in quality for a given amount. |
Phenomenon |
getPhenomenon()
Gives the phenomenon for this measurement. |
| Methods inherited from class observations.Observation |
getPhenomenonType, isPresent, whenObserved |
| Methods inherited from class observations.DomainObject |
getName |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Measurement(Quantity amount,
PhenomenonType phenomenonType,
Patient patient,
java.util.Date whenObserved)
throws OutOfRangeException
amount - measured quantityphenomenonType - type of the measurementpatient - measured patientwhenObserved - when did you observe the measurement
OutOfRangeException - if the amount is not valid| Method Detail |
public Quantity amount()
public Phenomenon calculatePhenomenonFor(Quantity arg)
arg - amount to calculate Phenomenon for
public Phenomenon getPhenomenon()
getPhenomenon in class Observation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||